Skip to main content

addItemAfter

Type

property

Summary

Adds one or more items after item index itemPointer.

Syntax

set the addItemAfter of widget to <list>

Description

Use the addItemAfter property to add one or more items after the item pointed by itemPointer to the list. This property will always return an empty string.

Examples

-- Adds two new items at the end of the list
set the itemPointer of widget "PolyList" to 1
set the addItemAfter of widget "PolyList" to [{"title":"One"},{"title":"Two"}]

property: itemPointer, addData, addItemBefore